/*
 * @Author: zhangyang
 * @Date: 2022-02-24 15:40:25
 * @LastEditTime: 2022-02-24 15:43:31
 * @Description: 自定义模块
 */
import type { YoungModule } from '../types';

export const install: YoungModule = (app) => {
  Object.values(
    import.meta.globEager('../plugins/directives/*.ts')
  ).map((v) => app.use(v.default));
};
